﻿namespace SuYuanRabbit.ErrorCode
{
    /// <summary>
    /// 错误码枚举
    /// </summary>
    public enum EnumCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        success = 200,
        /// <summary>
        /// 失败
        /// </summary>
        error = 500,
        /// <summary>
        /// 未授权
        /// </summary>
        unauthorized = 401,
        /// <summary>
        /// 禁止访问
        /// </summary>
        forbidden = 403,
        /// <summary>
        /// 资源不存在
        /// </summary>
        notfound = 404,
        /// <summary>
        /// 参数错误
        /// </summary>
        paramserror = 400,
    }
}
